Average sentence length |
---|
15.5432 |
sentence length | percentage |
---|---|
3 | 0.2200 |
4 | 0.9000 |
5 | 1.8100 |
6 | 3.2200 |
7 | 4.7300 |
8 | 4.9400 |
9 | 5.4400 |
10 | 5.9500 |
11 | 5.9700 |
12 | 6.0300 |
13 | 6.0500 |
14 | 5.1600 |
15 | 5.1700 |
16 | 4.9000 |
17 | 4.4300 |
18 | 4.2300 |
19 | 3.8700 |
20 | 3.4300 |
21 | 3.3800 |
22 | 2.9400 |
23 | 2.9700 |
24 | 2.3400 |
25 | 1.9700 |
26 | 1.8400 |
27 | 1.5300 |
28 | 1.4100 |
29 | 1.1500 |
30 | 1.0300 |
31 | 0.7500 |
32 | 0.5700 |
33 | 0.4700 |
34 | 0.4200 |
35 | 0.2900 |
36 | 0.1500 |
37 | 0.1500 |
38 | 0.0600 |
39 | 0.0700 |
40 | 0.0200 |
42 | 0.0200 |
43 | 0.0200 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters